<?php
class PortfoliaController extends AppController
{
	public $layout = 'portfolia';
	
	public function home()
	{
		$this->setActivePage('home');
	}
	
	public function about()
	{
		$this->setActivePage('about');
	}
	
	public function portfolia()
	{
		$this->setActivePage('portfolia');
	}
	
	public function contact()
	{
		$this->setActivePage('contact');
	}
	
	public function services()
	{
		$this->setActivePage('services');
	}
	
	private function setActivePage($pageName)
	{
		$this->request->data = array('activePage' => $pageName);
	}
}
?>